home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / xfs_logprint.z / xfs_logprint
Encoding:
Text File  |  1998-10-20  |  3.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. xxxxffffssss____llllooooggggpppprrrriiiinnnntttt((((1111MMMM))))                                              xxxxffffssss____llllooooggggpppprrrriiiinnnntttt((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      xfs_logprint - print the log of an XFS filesystem
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      xxxxffffssss____llllooooggggpppprrrriiiinnnntttt [ options ] device-name
  13.      xxxxffffssss____llllooooggggpppprrrriiiinnnntttt ----ffff [ options ] filename
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      _x_f_s__l_o_g_p_r_i_n_t prints the log of an XFS filesystem (see _x_f_s(4)).  The
  17.      _d_e_v_i_c_e-_n_a_m_e argument is the pathname of the partition or logical volume
  18.      containing the filesystem.  The contents of the filesystem remain
  19.      undisturbed.  There are two major modes of operation in _x_f_s__l_o_g_p_r_i_n_t.
  20.  
  21.      One mode is better for filesystem operation debugging.  It is called the
  22.      transactional view and is enabled through the ----tttt option.  The
  23.      transactional view prints only the portion of the log that pertains to
  24.      recovery.  In other words, it prints out complete transactions between
  25.      the tail and the head.  This view tries to display each transaction
  26.      without regard to how they are split across log records.
  27.  
  28.      The second mode starts printing out information from the beginning of the
  29.      log.  Some error blocks might print out in the beginning because the last
  30.      log record usually overlaps the oldest log record.  A message is printed
  31.      when the physical end of the log is reached and when the logical end of
  32.      the log is reached.  A log record view is displayed one record at a time.
  33.      Transactions that span log records may not be decoded fully.
  34.  
  35.      Common options are:
  36.  
  37.      ----bbbb   Extract and print buffer information.  Only used in transactional
  38.           view.
  39.  
  40.      ----DDDD   Don't decode anything; just print data.
  41.  
  42.      ----eeee   Exit when an error is found in the log.  Normally, _x_f_s__l_o_g_p_r_i_n_t
  43.           tries to continue and unwind from bad logs.  However, sometimes it
  44.           just dies in bad ways.  Using this option prevents core dumps.
  45.  
  46.      ----ffff   The log is a file.
  47.  
  48.      ----iiii   Extract and print inode information.  Only used in transactional
  49.           view.
  50.  
  51.      ----qqqq   Extract and print quota information.  Only used in transactional
  52.           view.
  53.  
  54.      ----nnnn   Don't try and interpret log data; just interpret log header
  55.           information.
  56.  
  57.      ----oooo   Also print buffer data in hex.  Normally, buffer data is just
  58.           decoded, so better information can be printed.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. xxxxffffssss____llllooooggggpppprrrriiiinnnntttt((((1111MMMM))))                                              xxxxffffssss____llllooooggggpppprrrriiiinnnntttt((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      ----ssss _s_t_a_r_t-_b_l_o_c_k
  75.           Override any notion of where to start printing.
  76.  
  77.      ----tttt   Print out the transactional view.
  78.  
  79. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  80.      mkfs_xfs(1M), mount(1M).
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.